package com.kuaidian.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.kuaidian.pojo.TUser;

public interface TUserDaoMapper {
	public TUser queryById(@Param(value = "id") Integer id);

	public int insertUser(@Param(value = "user")TUser user);

	public List<TUser> select(@Param(value = "user")TUser user);
	
	public List<TUser> queryUsers(@Param(value = "user")TUser user, 
			  @Param(value = "startRow")Integer startRow, 
			  @Param(value = "pageSize")Integer pageSize);

	public int selectCount(@Param(value = "user")TUser user);

	public int deleteUser(@Param(value = "user")TUser user);
}
